import request from '@/utils/request'

export function getUserInfoAPI(params) {
  return request({
    url: '/getUserInfo',
    method: 'get',
    params,
    showLoading: true
  })
}

export function loginAPI(data) {
  return request({
    url: '/login',
    method: 'post',
    data,
    showLoading: true
  })
}
